<?php
include_once('parametros.php');	
	session_start();
	if (!empty($_SESSION['correo'])){
		$session=true;				
		$nomUsuario=$_SESSION['nomUsu'];		
		$usuRol=$_SESSION['usuRol'];								
		$ultAcceso=$_SESSION['ultAcc'];
		$usuEstado=$_SESSION['usuEst'];
		$session=$_SESSION['sessionId'];				
		$itemSession=$_SESSION['itemSession'];							
		$codUsuario=$_SESSION['codUsuario'];													
	}else{
		$session=false;
	}		
		//echo $sessionId;
 if ($session==true){
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>CARTAS</title>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">

</HEAD>
   <FRAMESET ROWS="50,50%" BORDER=0 FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0>
      <FRAME SRC="top.php" NAME=top NORESIZE SCROLLING=no MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0>
      <FRAMESET ROWS="35,50%" BORDER=0 FRAMEBORDER=0>
         <FRAMESET COLS="170,100%" BORDER=0 FRAMEBORDER=0>
            <FRAME SRC="menu_izq.php" NAME="cart" NORESIZE SCROLLING=no MARGINWIDTH=0 MARGINHEIGHT=12 BORDER=0 FRAMEBORDER=0>
            <FRAME SRC="cabecera.php" NAME="middle_right" SCROLLING=no MARGINWIDTH=10 MARGINHEIGHT=2 FRAMEBORDER=0>
         </FRAMESET>
         <FRAMESET COLS="170,50%" BORDER=0 FRAMEBORDER=0>
            <FRAME SRC="menu_tree.php" NORESIZE MARGINWIDTH=6 MARGINHEIGHT=10 FRAMEBORDER=0>
            <FRAME SRC="entrada.php" NAME=main MARGINWIDTH=10 MARGINHEIGHT=4 FRAMEBORDER=0>
         </FRAMESET>
      </FRAMESET>

</FRAMESET><noframes></noframes>
</HTML>
<?php
}
else{
	header("location: ".URL_PATH."index.php");	
}
?>